package com.base.common.persistent.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.base.common.entity.AnnualMeetingRecord;
import com.base.common.persistent.model.MeetingAuthorize;
import com.base.common.persistent.model.MeetingSignRecord;
import com.cjy.common.annotation.MyBatisRepository;

@MyBatisRepository
public interface MeetingSignRecordMapper {

	/**
	 * 添加会议记录
	 * 
	 * @param meetingSignRecord
	 * @return
	 */
	public int addSignRecord(MeetingSignRecord meetingSignRecord);
	
	/**
	 * 
	 * @param meetingId
	 * @param employeeId
	 * @return
	 */
	public List<MeetingAuthorize> queryMeetingRecordByMeetingAndEmployeeId(@Param(value = "meetingId")int meetingId, @Param(value = "employeeId")int employeeId);

	/**
	 * 根据会议id查询会议记录
	 * 
	 * @param meetingId
	 * @return
	 */
	public List<MeetingSignRecord> queryMeetingRecordByMeetingId(@Param(value = "meetingId")int meetingId);

	public List<AnnualMeetingRecord> queryEmployeeInfoByMeetingId(@Param(value = "meetingId")int meetingId);
	
	public int updateIsHavedShowByMeetingSignRecordId(@Param(value = "meetingSignRecordId") int meetingSignRecordId);

}
